import request from '@/utils/request'

export function fetchList(query) {
  return request({
    url: '/subs/list',
    method: 'get',
    params: query
  })
}

export function searchSub(query) {
  return request({
    url: '/subs/sSubsList',
    method: 'get',
    params: query
  })
}

export function addSubs(query) {
  return request({
    url: '/subs/add',
    method: 'post',
    params: query
  })
}

export function delSubs(query) {
  return request({
    url: '/subs/del',
    method: 'post',
    params: query
  })
}

